package com.example.annotation;

import java.lang.annotation.*;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2019/10/31 15:21
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RedisCache {

    String value();

    long expire() default 3600*12L;

}
